package com.hxz.graduationdesign.mapper;


import com.hxz.graduationdesign.pojo.entity.UpVideo;
import com.hxz.graduationdesign.pojo.entity.Video;
import com.hxz.graduationdesign.pojo.vo.UpVideoVo;
import com.hxz.graduationdesign.pojo.vo.VideoVo;

import java.util.List;

public interface VideoMapper {
    int insert(Video video);

    int deleteByBv(String bv);

    VideoVo selectVideoByBv(String bv);



    List<UpVideoVo> selectUpVideo(String uid);

    int updateVideo(Video video);

    int insertUpVideo(List<UpVideo> upVideos);

    int deleteByUid(String uid);
}
